package pomodorotasks

import groovy.beans.Bindable
import ca.odell.glazedlists.EventList
import ca.odell.glazedlists.BasicEventList
import ca.odell.glazedlists.SortedList

import com.google.api.services.tasks.model.TaskList

class Task {
    String content
}

class PomodoroTasksListModel {
   TaskList list

   EventList tasksList = new SortedList(new BasicEventList(), 
        {a, b -> b.updated <=> a.updated} as Comparator)
}